Skip to content

Porting the TypeScript tests into solidity - #686

Merged
brickpop merged 36 commits into
mainfrom
f/foundry-test-suite-port
Jul 7, 2026
Merged

brickpop merged 36 commits into
mainfrom
f/foundry-test-suite-port

Conversation

@brickpop

@brickpop brickpop commented May 18, 2026

Copy link
Copy Markdown
Contributor

Description

  • Porting the testing suite from TypeScript /HardHat) into native solidity (Foundry)
  • Consolidating OSx + the former osx-commons
  • Extending the testing coverage (unit, integration, smoke)

Also:

  • Syncing the docs (to pass the checks)
  • Syncing the ABI (to pass the checks)
  • Syncing just-foundry

@brickpop
brickpop force-pushed the f/foundry-test-suite-port branch from 3d9230b to 498c563 Compare May 18, 2026 16:37
@brickpop
brickpop force-pushed the f/foundry-test-suite-port branch from e3ef005 to 5e3c8f3 Compare May 26, 2026 17:37
@brickpop brickpop changed the title Starting to port the TypeScript tests into solidity Porting the TypeScript tests into solidity May 27, 2026
@brickpop
brickpop requested a review from xavikh May 27, 2026 22:39
@brickpop
brickpop force-pushed the f/foundry-test-suite-port branch 2 times, most recently from c867813 to 1fbca0e Compare June 2, 2026 12:13
@brickpop
brickpop force-pushed the f/foundry-test-suite-port branch from 7450586 to 5e2bf9e Compare June 10, 2026 14:34

@xavikh xavikh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid port overall: builds clean, 896 tests pass. Detailed findings are inline. One thing up front that needs a call before merge:

Managing-DAO post-deployment checks were dropped with no replacement. The old deploy/managing-dao.ts (7 cases) verified the live managing DAO holds ROOT on itself and upgrade permission over the registries/registrars. A fork test against mainnet is the natural home (the pattern already exists in test/framework/member/fork/). Land it here or as a follow-up?

Comment thread test/framework/dao/DAORegistry.t.sol
Comment thread test/framework/plugin/setup/PSP.Update.t.sol Outdated
Comment thread test/framework/plugin/setup/PSP.UpdateScenarios.t.sol
Comment thread test/framework/plugin/setup/PSP.Installation.t.sol Outdated
Comment thread test/core/dao/DAO.t.sol Outdated
@brickpop

brickpop commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Managing-DAO post-deployment checks were dropped with no replacement. The old deploy/managing-dao.ts (7 cases) verified the live managing DAO holds ROOT on itself and upgrade permission over the registries/registrars. A fork test against mainnet is the natural home (the pattern already exists in test/framework/member/fork/). Land it here or as a follow-up?

These tests belong in the Protocol Factory, since it is what does the whole orchestration of Core + Plugins. The Management DAO cannot exist without the Multisig plugin setup being available I wouldn't introduce downstream dependencies here.

@brickpop
brickpop requested a review from xavikh July 6, 2026 15:38
@brickpop
brickpop merged commit 4100bcf into main Jul 7, 2026
6 checks passed
@brickpop
brickpop deleted the f/foundry-test-suite-port branch July 7, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants